package com.thunisoft.staticclass;

/**
 * @title StaticClass.java
 * @package com.thunisoft.staticclass
 * @projectName spring.boot
 * @author yzj 
 * @date 2019年7月5日 下午12:40:42
 */
public class StaticClass {

	static class Test{
		private int age;
		private String name;
		/**
		 * @return the age
		 */
		public int getAge() {
			return age;
		}
		/**
		 * @param age the age to set
		 */
		public void setAge(int age) {
			this.age = age;
		}
		/**
		 * @return the name
		 */
		public String getName() {
			return name;
		}
		/**
		 * @param name the name to set
		 */
		public void setName(String name) {
			this.name = name;
		}
		@Override
		public String toString() {
			return "Test [age=" + age + ", name=" + name + "]";
		}
	}
	
	
	public void test() {
		Test test=new Test();
		test.setAge(12);
		test.setName("1234");
		System.out.println(test);
		
	}
	
	public static void main(String[] args) {
	}
}
